return;
if (impl->colormap)
- gdk_colormap_unref (impl->colormap);
+ g_object_unref (impl->colormap);
impl->colormap = colormap;
if (impl->colormap)
- gdk_colormap_ref (impl->colormap);
+ g_object_ref (impl->colormap);
}
/* Drawing
gdk_win32_hdc_release (drawable, gc, mask);
gdk_win32_hdc_release (tile, gc_copy, mask);
- gdk_gc_unref (gc_copy);
+ g_object_unref (gc_copy);
}
static void
gdk_draw_rectangle (tile_pixmap, tile_gc, TRUE,
0, 0, width, height);
}
- gdk_gc_unref (stipple_gc);
+ g_object_unref (stipple_gc);
}
- gdk_gc_unref (mask_gc);
- gdk_gc_unref (tile_gc);
+ g_object_unref (mask_gc);
+ g_object_unref (tile_gc);
mask_hdc = CreateCompatibleDC (hdc);
(FALSE,
GDK_DRAWABLE_IMPL_WIN32 (GDK_PIXMAP_OBJECT (image->windowing_data)->impl),
gc, drawable, src_x, src_y, dest_x, dest_y, width, height);
- gdk_gc_unref (gc);
+ g_object_unref (gc);
return image;
}
GDK_NOTE (IMAGE, g_print ("gdk_win32_image_destroy: %p\n",
GDK_PIXMAP_HBITMAP (pixmap)));
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
image->windowing_data = NULL;
}
GDK_DRAWABLE_IMPL_WIN32 (GDK_PIXMAP_OBJECT (result)->impl),
gc, source, 0, 0, 0, 0, width, height);
g_object_unref (source);
- gdk_gc_unref (gc);
+ g_object_unref (gc);
GDK_NOTE (PIXMAP, g_print ("gdk_pixmap_create_from_data: %dx%dx%d=%p\n",
width, height, depth,